package apibasej.db.sql.wrapper;

import apibasej.db.metadata.Col;


public class Entry<T> extends SqlPart<T> implements InterfaceColValue<T>{

	private T value;
	private String valueForConcat = null;// se não quiser usar o set param no statement, se valueForConcat for !=null irá concatenar no sql inves do ?
	
	private boolean genIdAfter = false;
	
	public Entry(WrapperTab wrapperTab, Col<T> col, T value) {
		super(wrapperTab, col);
		this.value = value;
	}

	public T getValue() {
		return value;
	}
	public void setValue(T value) {
		this.value = value;
	}

	public String getValueForConcat() {
		return valueForConcat;
	}
	public void setValueForConcat(String valueForConcat) {
		this.valueForConcat = valueForConcat;
	}

	public boolean isGenIdAfter() {
		return genIdAfter;
	}
	public void setGenIdAfter(boolean genIdAfter) {
		this.genIdAfter = genIdAfter;
	}

	
	
}
